home *** CD-ROM | disk | FTP | other *** search
- if(this.playing)
- {
- this.trackwidth = resizeValue - 102;
- this.frameindicator._xscale = 100 * (trackwidth / 538) * this.framesLoaded() / _level0.totalframecount;
- this.currentframe = _root["_level" + _level0.levelnum].firstframeabs + _root["_level" + _level0.levelnum]._currentframe - 1;
- this.playhead._x = int(42 + trackwidth * (this.currentframe - 1) / (_level0.totalframecount - 1));
- if(this.currentframe == _level0.totalframecount)
- {
- if(!_level0.islooping)
- {
- this.playing = false;
- this.pauseplay.gotoAndStop(2);
- }
- }
- }
-